<?php include 'headerN.php';
?>
  <div class="edicao">
           Sub-Evento(s)
       </div>

        <?php include 'menu2.php';
        include 'crudPHP/start.php';
        $idEvento=$_SESSION['idEvento'];
        include 'cursosModel.php';
        $dados = new cursosModel();
        ?>
  <br>
  
  <div class="tbl_conteudo">
      
      <a href="cursosFormCad.php" class="button">Novo Sub-Evento</a><p>
	
      <div class="tabela" >
                     <table class="meio"  width="80%" cellspacing="2" cellpadding="2">
				<thead>
					<tr>
						<th width="30%">Tema</th>
						<th>Data</th>
						<th>Hora Inicial</th>
						<th >Hora Final</th>
						<th >Edição</th>
					</tr>
			</thead>
				<tbody id="dados">
                                        <?php 
                                        $dados->listar("where tbCursosIdEvento = $idEvento");   
                                         ?>
				 </tbody>
			</table>
                    <div class="rodape_lista" id="rodape">
                </div>
                    
		</div>
			  <div class="clr" id="dados2"></div>
		
        
  <?php include 'footerN.php';?>

